package com.chen.manager;

import com.chen.log.annotation.EnableLogAspect;
import com.chen.manager.properties.MinioProperties;
import com.chen.manager.properties.UserAuthProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author cgj
 * @date 2/6/25 10:32 AM
 */
@EnableLogAspect
//@EnableAspectJAutoProxy
@SpringBootApplication
@EnableAsync
@ComponentScan(basePackages = {"com.chen"})
@EnableScheduling // 开启定时任务
@EnableConfigurationProperties(value = {UserAuthProperties.class, MinioProperties.class})
public class SpzxManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpzxManagerApplication.class,args);
    }
}
